package com.xzs.thinking.service;

import com.xzs.thinking.model.HelloWorldEsVO;
import com.xzs.thinking.model.HelloWorldVO;

import java.util.List;
import java.util.Map;

/**
 * @author : Iris.Xiao
 * @date : 2017/11/17 16:45
 * @description :
 */
public interface HelloWorldService {
    void exceptionTest();
    HelloWorldVO getVo(String id);
    void updateDev(HelloWorldVO helloWorldVO);
    void updateUat(HelloWorldVO helloWorldVO);

    HelloWorldVO getVoByMybatisDev(String id);
    HelloWorldVO getVoByMybatisUat(String id);

    void save(HelloWorldVO helloWorldVO);
    String get(String id);


    void doTaskOne() throws Exception;
    void doTaskTwo() throws Exception;
    void doTaskThree() throws Exception;

    HelloWorldEsVO saveEs(HelloWorldEsVO helloWorldEsVO);
    List<HelloWorldEsVO> searchHelloWorldEsVO(Integer pageNumber,
                                              Integer pageSize,
                                              String searchContent);
}
